﻿@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>CommonJs</title>
    <script src="~/Content/js/common/common.js"></script>
</head>
<body>
    <div>
        
    </div>
    <script type="text/javascript">
        console.log(new Date().pattern("yyyy-MM-dd HH:mm:ss"));

        console.log(convertDateTime("2016-03-02 10:11:49", "yyyy-MM-dd"));
        console.log(convertDateTime(new Date(), "yyyy-MM-dd"));
        console.log(convertDateTime("/Date(1452155497337)/", "yyyy-MM-dd HH:mm:ss"));
        console.log(convertDateTime(1452155497337, "yyyy-MM-dd HH:mm:ss"));

        console.log(getQueryString("id"));
        console.log(getQueryString("name"));
    </script>
</body>
</html>
